home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / game / shoot / athrust.lha / AmigaThrust / src / fast_gr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-05  |  792 b   |  34 lines

  1.  
  2. /* Written by Peter Ekberg, peda@lysator.liu.se */
  3.  
  4. #ifndef FAST_GR_H
  5. #define FAST_GR_H
  6.  
  7. #include "thrust_t.h"
  8.  
  9. #define BBILDX    (41)
  10. #define BBILDY    (23)
  11. #define PBILDX    (BBILDX*8)
  12. #define PBILDY    (BBILDY*8)
  13. #define PUSEX    (PBILDX-8)
  14. #define PUSEY    (PBILDY-8)
  15.  
  16. #ifdef __STDC__
  17. void putscr(int x, int y, int force_draw);
  18. void putblock(int x, int y, byte *source);
  19. void drawfuel(int fuel);
  20. void drawship(word bx, word by, byte *ship, byte *storage);
  21. void undrawship(word bx, word by, byte *storage);
  22. void drawsquare(word bx, word by,
  23.         byte *object, byte *storage,
  24.         byte deltax, byte deltay);
  25. void undrawsquare(word bx, word by,
  26.           byte *storage,
  27.           byte deltax, byte deltay);
  28. word testcrash(byte *object, byte *storage, word len, byte shield);
  29. #endif
  30.  
  31. extern byte *bild;
  32.  
  33. #endif /* FAST_GR_H */
  34.